<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/tlds/struts-template.tld" prefix="template"%>
<%@ page import="com.erp.app.common.ProjectConstants"%>
<%@ page import="com.erp.framework.util.CommonUtil" %>
<%@ page import="com.erp.framework.util.user.User" %>
<%@ page import="com.erp.app.common.ProjectConstants" %>
<%@ page import="java.util.Hashtable" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="com.erp.app.util.web.WebUtil" %>

<%
response.setHeader("Cache-Control", "no-cache"); //HTTP 1.1
//response.setHeader("Pragma", "no-cache"); //HTTP 1.0
response.setDateHeader("Expires", 0);

String systemMode = WebUtil.getPrjParamVal(session, ProjectConstants.PP_SYSTEM_MODE);
String appVersion = WebUtil.getPrjParamVal(session, ProjectConstants.PP_APP_VERSION);

User user = (User)session.getAttribute(ProjectConstants.SESSION_USER);

String companyCode = CommonUtil.nullToString(user.getCompanyCode());
String dept = CommonUtil.nullToString(user.getDeptDesc());
String userName = CommonUtil.nullToString(user.getUserName());
%>

<html>
<head>

<style>
		.cPointer { cursor: pointer; }
</style>

<title><template:get name='title'/></title>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META name="GENERATOR" content="IBM WebSphere Studio">
<META Http-Equiv="Cache-Control" Content="no-cache">
<META Http-Equiv="Pragma" Content="no-cache">
<META Http-Equiv="Expires" Content="0"> 

<script language="javascript">
	var stylePath = "<%=request.getContextPath()%>";
	var remarkWin;

	function mouseOverLogout(img) {
		img.src = "images/menu/logout_over.gif";
	}

	function mouseOutLogout(img) {
		img.src = "images/menu/logout_out.gif";
	}
</script>

<% String stylePath = request.getContextPath();%>

<link rel="stylesheet" href="<%=stylePath+ "/css/style.css" %>" type="text/css">
<link rel="StyleSheet" href="<%=stylePath+ "/css/jtree.css" %>" type="text/css" />
<link rel="stylesheet" href="<%=stylePath+ "/popcalendar/popcalendar.css" %>" type="text/css">
</head>

<script language="javascript" src="<%=stylePath+ "/js/confirmMsg.js" %>">
</script>
<script language="javascript" src="<%=stylePath+ "/js/sys.js" %>">
</script>
<script language="javascript" src="<%=stylePath+ "/js/menu-sys.js" %>">
</script>
<script language="vbscript" src="<%=stylePath+ "/vbs/confirmMsg.vbs" %>">
</script>

<script language="javascript" src="<%=stylePath+ "/popcalendar/popcalendar.js" %>">
</script>

<script language="javascript" src="<%=stylePath+ "/js/jtree.js" %>">
</script>




<!-- NEVER put onLoad/onUnload event here  -->
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
	<td height="100%">
	<table width="100%" border="0" cellspacing="0" cellpadding="1" height="100%">
	<tr valign="top">
		<td width="100%">
			<template:get name='content'/>
		</td>
	</tr>
	</table>
	</td>
</tr>

</table>

</body>



</html>
